import { Env } from "#Config/base.js"

// 初始化 环境变量
Env

export default {
    app_name: process.env.APP_NAME || "koa",
    app_key: process.env.APP_KEY || "koa-1234567890",
    app_version: process.env.APP_VERSION || "1.0.0",
    app_url: process.env.APP_URL || "locathost",
    app_env: process.env.APP_ENV || "local",
    app_port: process.env.APP_PORT || '3000',
    jwt: {
        secret: process.env.JWT_SECRET || "secret",
        expiresIn: process.env.JWT_EXPIRES_IN || "2h",
        algorithm: process.env.JWT_ALGORITHM || "HS256",
        autoRefreshGap: process.env.JWT_AUTO_REFRESH_GAP || "120",
    }
}